1.0.17 • Published 2 years ago

bulletproof_me v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

bulletproof_me

License: MIT NPM Downloads Play with docs

Instructions:

npm install bulletproof_me
const bulletproof_me =  require('bulletproof_me')

If utilizing in html...:

<script src="./node_modules/bulletproof_me/index.js"></script>
<script> 
$(()=> { 
     const output =  bulletproof_me.method(parameter)
 })
</script>

Functions

HAS(one, two) ⇒ boolean

Kind: global function
Date: 2022-02-09
Author: zen-out

ParamType
onestring
twostring

Example

HAS("string", "st")

STARTSWITH(string, substring) ⇒ boolean

Kind: global function
Date: 2022-02-10
Author: zen-out

ParamType
stringstring
substringstring

Example

STARTSWITH(string, substring)

ENDSWITH(string, substring) ⇒ boolean

Kind: global function
Date: 2022-02-10
Author: zen-out

ParamType
stringstring
substringstring

Example

ENDSWITH("string", "g")

COUNT(type, item, amount) ⇒ boolean

Kind: global function
Date: 2022-03-10
Author: zen-out

ParamType
typestring
itemstring
amountnumber

Example

COUNT("hello hellodi", "div", 2)
COUNT("hello hellodi", "hello", 2) // true 

ATLEAST(type, item, amount) ⇒ boolean

Kind: global function
Date: 2022-02-10
Author: zen-out

ParamType
typestring
itemstring
amountnumber

Example

ATLEAST("div div", "div", 1) //true 
   ATLEAST("div div", "div", 2) //true 
  ATLEAST("div div", "div", 3) //false 

ISLESS(first, second) ⇒ boolean

Kind: global function
Date: 2022-02-17

ParamType
firststring
secondstring

Example

ISLESS("1993-12-11", "1994-12-11")

DOESNOTHAVE(string, item) ⇒ boolean

Kind: global function
Date: 2022-02-10
Author: zen-out

ParamType
stringstring
itemstring

Example

DOESNOTHAVE("string", "s")

ISTYPE(data, type) ⇒ boolean

Kind: global function
Date: 2022-03-01

ParamType
dataany
typestring

Example

ISTYPE([2, 3], "array")
1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago