Lines Matching full:if
13 if (typeof val === 'undefined') {
16 if (val === null) {
19 if (val === true || val === false || val instanceof Boolean) {
22 if (typeof val === 'string' || val instanceof String) {
25 if (typeof val === 'number' || val instanceof Number) {
30 if (typeof val === 'function' || val instanceof Function) {
35 if (typeof Array.isArray !== 'undefined' && Array.isArray(val)) {
40 if (val instanceof RegExp) {
43 if (val instanceof Date) {
50 if (type === '[object RegExp]') {
53 if (type === '[object Date]') {
56 if (type === '[object Arguments]') {
59 if (type === '[object Error]') {
64 if (isBuffer(val)) {
69 if (type === '[object Set]') {
72 if (type === '[object WeakSet]') {
75 if (type === '[object Map]') {
78 if (type === '[object WeakMap]') {
81 if (type === '[object Symbol]') {
86 if (type === '[object Int8Array]') {
89 if (type === '[object Uint8Array]') {
92 if (type === '[object Uint8ClampedArray]') {
95 if (type === '[object Int16Array]') {
98 if (type === '[object Uint16Array]') {
101 if (type === '[object Int32Array]') {
104 if (type === '[object Uint32Array]') {
107 if (type === '[object Float32Array]') {
110 if (type === '[object Float64Array]') {