@cfpb/cfpb-atomic-component v1.0.0
@cfpb/atomic-component
Design System atomic component utilities
This component can be used by itself, but it was made for Design System, a front end framework developed at the Consumer Financial Protection Bureau.
How to use this component
Detailed instructions can be found at the Design System documentation site.
Utility descriptions
Type Checkers
Utility functions for checking Javascript types and primitives.
Example
var assert = require( 'assert' );
import {
isUndefined,
isObject,
isFunction,
isDate
} from '../utilities/type-checkers.js';
var UNDEFINED;
var date = new Date( 2011, 7, 21 );
function func() {
return true;
}
var object = {
a: '1',
b: '2',
c: '3'
};
assert.equal( typeCheckers.isUndefined( UNDEFINED ), true );
assert.equal( typeCheckers.isObject( object ), true );
assert.equal( typeCheckers.isFunction( func ), true );
assert.equal( typeCheckers.isDate( date ), true );
Getting involved
We welcome your feedback and contributions.
Open source licensing info
9 days ago
12 days ago
26 days ago
30 days ago
30 days ago
1 month ago
1 month ago
2 months ago
2 months ago
3 months ago
5 months ago
6 months ago
7 months ago
9 months ago
10 months ago
6 months ago
7 months ago
9 months ago
10 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago