Home Manual Reference Source

src/cast/truth.js

const truth = (x) => Boolean(x);
export default truth;