Skip to content

KBE3D / KBCore / utils / isImgPath

函数: isImgPath()

isImgPath(path: string): boolean

是否为以http或https开头,以png/jpg/jpeg/gif/svg/webp/ico等结尾的图片链接

参数

path

string

返回

boolean

KBE3D @3.0.0 Copyright © 2024-present KBE3D