13 lines
203 B
JavaScript
Raw Normal View History

2019-02-01 14:06:44 +01:00
'use strict';
const castBoolean = require('../../cast/boolean');
/*!
* ignore
*/
module.exports = function(val) {
const path = this != null ? this.path : null;
return castBoolean(val, path);
};