Builds an object from a spec object whose values are transformations of the argument
spec
import * as P from "flurp/pojo";import * as A from "flurp/array";const ends = P.fromSpec({ first: A.first, last: A.last,});ends([3, 4, 5, 6]); // { first: 3, last: 6 }
Builds an object from a
spec
object whose values are transformations of the argumentExample