isnovid.a
0.2.1
Last updated 7 years ago by isnovid .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install isnovid.a 
SYNC missed versions from official npm registry.

a

0.1.0

There are many libraries allowing to work with the information. Many perform miscellaneous tasks. This library is intended only for the simple task of validation data. Not contain conversion functions, search, modify. All methods return a boolean type.

Interface

a.null arguments...

Aliases a.null``a.nulls

a.nulls null, null, null # true
a.null 0 # false

a.undefined arguments...

Aliases a.undefined``a.undefineds

a.undefineds undefined, undefined, undefined # true

a.boolean arguments...

Aliases a.boolean``a.booleans

a.booleans true, false, true # true

a.number arguments...

Aliases a.number``a.numbers

a.numbers 17, 1991 # true
a.number NaN # false
a.number null # false

a.string arguments...

Aliases a.string``a.strings

a.strings "isnovid","a" # true

a.object arguments...

Aliases a.object``a.objects

a.objects {}, [], (->), /(\w+)\s(\w+)/ # true
a.object null # false
a.object undefined # false

a.array arguments...

Aliases a.array``a.arrays

a.arrays [], [1,2], [1..10] # true
a.array arguments # false
a.array {} # false

a.function arguments...

Aliases a.function``a.functions

a.functions ( -> ), class, -> # true
a.function new -> # false
a.function new class # false

a.arguments arguments...

Aliases a.arguments

a.arguments arguments # true
a.arguments {} # false
a.arguments [] # false

a.date arguments...

Aliases a.date,a.dates

a.date new Date # true

a.element arguments...

Aliases a.element``a.arguments

a.element document.getElementById('project') # true

a.finite arguments...

Aliases a.finite``a.finities

a.finite 17 # true
a.finite Infinity # false

a.nan arguments...

Aliases a.nan``a.NaN``a.Nan

a.nan NaN # true

a.reg arguments...

Aliases a.reg``a.regex``a.regexp``a.regExp``a.RegExp``a.regularExpression

a.reg /(\w+)\s(\w+)/ # true

a.empty arguments...

Aliases a.empty``a.empties

a.empties "", 0, [], {}, ->, null, undefined # true
a.empty [1..10] # false

a.equal arguments...

Aliases a.equal``a.equals

a.equal {name:"isnovid.a"},{name:"isnovid.a"},{name:"isnovid.a"} # true
a.equals (-> true),(-> true),(-> true) # true

a.container arguments...

Aliases a.container``a.container``a.collection``a.collections

Everything that may have contents.

Arrays, objects, arguments, functions, classes.

a.container {name:"isnovid.a"},[1..10],(->),arguments # true

Chenge log

0.1.0

Initial release.

Current Tags

  • 0.2.1                                ...           latest (7 years ago)

4 Versions

  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |