8000 isType.js/docs.md at main · art-emini/isType.js · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
95 lines (48 loc) · 1.21 KB

docs.md

File metadata and controls

95 lines (48 loc) · 1.21 KB

isType.js Documentation

Checking

isType.str

Tests if it is a string

Param: Test - Something to test

isType.num

Tests if it is a number

Param: Test - Something to test

isType.bool

Tests if it is a boolean

Param: Test - Something to test

isType.func

Tests if it is a function

Param: Test - Something to test

isType.arr

Tests if it is an array

Param: Test - Something to test

isType.obj

Tests if it is an object

Param: Test - Something to test

isType.regex

Tests if it is a regex

Param: Test - Something to test

isType.element

Tests if it is an element

Param: Test - Something to test

isType.svg

Tests if it is a svg

Param: Test - Something to test

isType.event

Tests if it is an event

Param: Test - Something to test

isType.embed

Tests if it is an embed

Param: Test - Something to test

isType.script

Tests if it is a script

Param: Test - Something to test

isType.valid


Object


Props

link: function(test: any)

Tests if it is a valid link

regex: function(test: any, flags?: any)

Tests if it is a valid regex
0